package com.easyboot.utils.log;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author yushuo
 * @className
 * @descripton TODO
 * @date 2021/6/25 11:09
 **/

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LogDto {

    /**
     * @author yushuo
     * @description 日志标题
    **/
    private String logTitle;
    /**
     * @author yushuo
     * @description 日志内容
     **/
    private String logMessage;
    /**
     * @author yushuo
     * @description 日志类型  1-info,2-debug,3-warn,4-error,5-sqllog,6.joblog
     **/
    private int logType;
    /**
     * @author yushuo
     * @description 日志时间
     **/
    private Date logDate;
    /**
     * @author yushuo
     * @description 执行时间
     **/
    private long elapseTime;

    /**
     * @author yushuo
     * @description  job执行结果，0-OK，1-失败
     **/
    private int excuteResult;
}
